﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Erp.Runtime.Test
{
    interface ISaveService
    {
        void Save(object data);
    }

    [Service(typeof(ISaveService))]
    class SaveService:ISaveService
    {
        public bool Saved;
        public void Save(object data)
        {
            this.Saved = true;
        }
    }
}